package org.gblog

import org.apache.commons.logging.LogFactory

class LogDemoController {

	private static final log = LogFactory.getLog(this)

    

    def index() {
    	log.debug "debug"
        log.warn "warn"
        log.info "info"
        log.error "error"
        log.fatal "fatal"

        render "log LogDemoController"
    }

    def info() {
    	log.info "info"
    }

    def warn() {
    	log.warn "warn"
    }
}
